package com.kb.shop.service.impl;

import com.kb.shop.dao.ShopCollectDao;
import com.kb.shop.service.IshopCollectService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.kb.shop.pojo.ShopCollect;

@Service
public class ShopCollectServiceImpl implements IshopCollectService {

    @Resource
    private ShopCollectDao shopCollectDao;

    public int insert(ShopCollect pojo){
        return shopCollectDao.insert(pojo);
    }

    public int insertList(List< ShopCollect> pojos){
        return shopCollectDao.insertList(pojos);
    }

    public List<ShopCollect> select(ShopCollect pojo){
        return shopCollectDao.select(pojo);
    }

    public int update(ShopCollect pojo){
        return shopCollectDao.update(pojo);
    }

    @Override
    public void delete(ShopCollect collect) {
        shopCollectDao.delete(collect);
    }

}
